package com.soft.springhrms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * @TableName users
 */
@TableName(value = "users")
@Data
public class Users implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String encryptedPassword;
    private String email;
    @TableField(value = "phone_number")
    private String phoneNumber;
    private Integer roleId;
    private Object accountStatus;
    private Date createdAt;
    private Date updatedAt;
    @TableField(exist = false)
    private String employeeId;
    @TableField(exist = false)
    private String fullName;
}